[PATCH 1/4] mgr/volumes: Fix subvolume discover during upgrade
authorKotresh HR <khiremat@redhat.com>
Fri, 22 Jul 2022 07:53:39 +0000 (13:23 +0530)
committerUtkarsh Gupta <utkarsh@debian.org>
Mon, 15 Dec 2025 12:18:10 +0000 (17:48 +0530)
commit55f23f3eeee7ca66e7580aec10d40166cb8dedee
tree69e3f75ce785c2d7d794762f076763a220577a82
parentd09571267a5699cb70ee7eb1c8db021c3b740348
[PATCH 1/4] mgr/volumes: Fix subvolume discover during upgrade

Fixes the subvolume discover to use the correct
metadata file after an upgrade from legacy subvolume
to v1. The fix makes sure, it doesn't use the
handcrafted metadata file placed in the subvolume
root of legacy subvolume.

Co-authored-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Co-authored-by: Dan van der Ster <daniel.vanderster@cern.ch>
Co-authored-by: Ramana Raja <rraja@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Gbp-Pq: Name CVE-2022-0670.patch
qa/tasks/cephfs/test_volumes.py
src/pybind/mgr/volumes/fs/operations/versions/metadata_manager.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py